package org.apache.servicecomb.samples.practise.houserush.customer.manage.service;

import org.apache.servicecomb.samples.practise.houserush.customer.manage.entity.Customer;
import org.apache.servicecomb.samples.practise.houserush.customer.manage.entity.Qualification;

import java.util.List;

public interface CustomerService {
    List<Customer> indexCustomers();

    Customer findCustomer(int id);

    Customer createCustomer(Customer customer);

    Customer updateCustomer(Customer customer);

    boolean updateCustomerQualification(Customer customer, List<Qualification> qualifications);

    void removeCustomer(int id);
}
